<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        td{
            padding-left: 30px;
        }
    </style>
</head>
<body>

<table>
    {% for book in books %}
        <tr>
            <td style="color: aqua">书名：{{ book.title }}</td>
            <td style="color:green;">出版社：{{ book.public }}</td>
            <td style="color: salmon">价格：{{ book.price }}</td>
        </tr>
    {% endfor %}
</table>
</body>
</html>